package com.atguigu.gulimall.member.service;

import com.atguigu.common.to.SocialUser;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.member.entity.MemberEntity;
import com.atguigu.gulimall.member.vo.MemberLoginVO;
import com.atguigu.gulimall.member.vo.MemberRegisterVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * 会员
 *
 * @author wenchao.long
 * @email wenchao.long@gmail.com
 * @date 2021-06-13 23:32:41
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void register(MemberRegisterVO memberRegisterVO);

    MemberEntity login(MemberLoginVO vo);

    MemberEntity login(SocialUser user);
}

